package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-09-26
 */
@Data
@ApiModel(value = "IotDeviceWaterQualityLog 视图", description = " 视图")
public class IotDeviceWaterQualityLogVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 
     */
    @ApiModelProperty(value = "")
    @Excel(name = "", orderNum = "0")
    private String deviceCode;

    /**
     * 数据时间
     */
    @ApiModelProperty(value = "数据时间")
    @Excel(name = "数据时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /**
     * 水温(℃)
     */
    @ApiModelProperty(value = "水温(℃)")
    @Excel(name = "水温(℃)", orderNum = "0")
    private BigDecimal w01010rtd;

    /**
     * 水温传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "水温传感器状态(N:正常 D:异常)")
    @Excel(name = "水温传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w01010flag;

    /**
     * PH(无量纲)
     */
    @ApiModelProperty(value = "PH(无量纲)")
    @Excel(name = "PH(无量纲)", orderNum = "0")
    private BigDecimal w01001rtd;

    /**
     * PH传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "PH传感器状态(N:正常 D:异常)")
    @Excel(name = "PH传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w01001flag;

    /**
     * 电导率(uS/cm)
     */
    @ApiModelProperty(value = "电导率(uS/cm)")
    @Excel(name = "电导率(uS/cm)", orderNum = "0")
    private BigDecimal w01014rtd;

    /**
     * 电导率传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "电导率传感器状态(N:正常 D:异常)")
    @Excel(name = "电导率传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w01014flag;

    /**
     * 溶解氧(mg/L)
     */
    @ApiModelProperty(value = "溶解氧(mg/L)")
    @Excel(name = "溶解氧(mg/L)", orderNum = "0")
    private BigDecimal w01009rtd;

    /**
     * 溶解氧传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "溶解氧传感器状态(N:正常 D:异常)")
    @Excel(name = "溶解氧传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w01009flag;

    /**
     * 浊度(NTU)
     */
    @ApiModelProperty(value = "浊度(NTU)")
    @Excel(name = "浊度(NTU)", orderNum = "0")
    private BigDecimal w01003rtd;

    /**
     * 浊度传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "浊度传感器状态(N:正常 D:异常)")
    @Excel(name = "浊度传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w01003flag;

    /**
     * 氨氮(mg/L)
     */
    @ApiModelProperty(value = "氨氮(mg/L)")
    @Excel(name = "氨氮(mg/L)", orderNum = "0")
    private BigDecimal w21003rtd;

    /**
     * 氨氮传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "氨氮传感器状态(N:正常 D:异常)")
    @Excel(name = "氨氮传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w21003flag;

    /**
     * 水位(cm)
     */
    @ApiModelProperty(value = "水位(cm)")
    @Excel(name = "水位(cm)", orderNum = "0")
    private BigDecimal w01099rtd;

    /**
     * 水位传感器状态(N:正常 D:异常)
     */
    @ApiModelProperty(value = "水位传感器状态(N:正常 D:异常)")
    @Excel(name = "水位传感器状态(N:正常 D:异常)", orderNum = "0")
    private String w01099flag;


}
